/* general colors */
a {color: #66CCFF; /* neon blue */}
body {background: #111; /* dark black */ color: #fff;}
button { background: transparent; color: #fff; }
input, textarea, .post_input_container { background: rgba(20, 20, 20, 0.61); /* dark gray */ border: 1px solid #333; /* dark gray */ color: #66CCFF; /* neon blue */}
.setdef { color: #fff; }

/* cookie box */
.cookie_wrap { background: #222; /* dark gray */ color: #fff; }

/* item with background no effect */
.bback { background: rgba(40, 40, 40, 0.2); /* dark gray */}
.bbackb { background: rgba(40, 40, 40, 0.2); /* dark gray */ border: 1px solid rgba(40, 40, 40, 0.2); /* dark gray */}

/* item with no background and hover effect */
.bhover:hover { background: rgba(40, 40, 40, 0.2); /* dark gray */}
.bbackhover { background: rgba(40, 40, 40, 0.2); /* dark gray */}
.bbackhover:hover { background: rgba(40, 40, 40, 0.1); /* dark gray */}

/* item width background and hover effect with a border */
.bbackhoverb { background: rgba(40, 40, 40, 0.2); /* dark gray */}
.bbackhoverb:hover { background: rgba(255, 255, 255, 0.3); /* light gray */ border: 1px solid rgba(255, 238, 160, 0.11); /* light gray */}

/* item with no background with line separator and hover effect */
.blisting { border-bottom: 1px solid rgba(40, 40, 40, 0.1); /* dark gray */}
.blisting:hover { background: rgba(40, 40, 40, 0.2); /* dark gray */}
.blist { border-bottom: 1px solid rgba(40, 40, 40, 0.1); /* dark gray */}

/* private panel top */
.back_ptop { background: rgba(20, 20, 20, 0.85); /* dark gray */ color: #fff;}

/* page menu & page sub menu */
.bpmenu:hover { background: rgb(255, 255, 255, 0.05); /* light gray */}
.bsub { background: rgb(0, 0, 0, 0.1); /* dark black */}
.bsub:hover { background: rgba(40, 40, 40, 0.1); /* dark gray */}

/* sub menus for card, logs, wall, news */
.bmenu, .submenu { border-bottom: 1px solid rgba(40, 40, 40, 0.1); /* dark gray */}
.bmenu:hover, .submenu:hover { background: rgba(40, 40, 40, 0.1); /* dark gray */}

/* box shadow */
.bshadow, .page_element, .float_menu, .btnshadow, .pboxed { box-shadow: 0 1px 3px rgb(0, 0, 0, 0.4); /* dark black */}
.bshadow, .page_element, .float_menu, .btnshadow, .pboxed { backdrop-filter: blur(10px); /* glassy effect */}

/* main item selected for panel and box */
.bselected { background: rgba(255, 214, 0, 0.05); /* light orange */}
.rselected { background: rgba(255, 214, 0, 0.05); /* light orange */}
.pselected { color: #d3b300; /* light orange */}
.cselected, .liked { background: rgba(40, 40, 40, 0.2); /* dark gray */}
.pag_btn { background: rgba(40, 40, 40, 0.2); /* dark gray */}
.pagselected, .pag_btn:hover { background: rgb(255, 255, 255, 0.1); /* light gray */}

/* count and gold tag */
.gtag { background: #111; /* dark black */ border: 1px solid rgba(255, 238, 160, 0.11); /* light gray */}
.bborder { border-bottom: 1px solid rgba(255, 238, 160, 0.11); /* light gray */}
.tborder { border-top: 1px solid rgba(255, 238, 160, 0.11); /* light gray */}
.lborder, .ppanel { border-left: 1px solid rgba(255, 238, 160, 0.11); /* light gray */}
.rborder { border-right: 1px solid rgba(255, 238, 160, 0.11); /* light gray */}
.fborder { border: 1px solid rgba(255, 238, 160, 0.11); /* light gray */}

/* float top color */
.float_top { border-bottom: 1px solid rgba(255, 238, 160, 0.11); /* light gray */}
.float_ctop { border-bottom: 1px solid rgba(255, 238, 160, 0.11); /* light gray */}

/* headers, footer and top modal colors */
.bhead { background: rgba(20, 20, 20, 0.85); /* dark gray */ color: #fff; border-bottom: 1px solid rgba(255, 238, 160, 0.11); /* light gray */}
.modal_top { background: #111; /* dark black */ color: #fff;}
.pro_top { background: rgba(13, 8, 5, 0.61); /* dark gray */ color: #fff;}
.bfoot { background: rgba(20, 20, 20, 0.85); /* dark gray */ color: #fff; border-top: 1px solid rgba(255, 238, 160, 0.11); /* light gray */}
.foot { background: #111; /* dark black */ color: #fff;}

/* background major element panel, page menu, float menu, modal, chat boxes */
.backglob { background: transparent; }
.back_chat, #page_full_content, .tab_menu { background: rgba(13, 8, 5, 0.61); /* dark gray */}
.back_priv { background: rgba(13, 8, 5, 0.61); /* dark gray */}
.back_panel { background: rgba(13, 8, 5, 0.61); /* dark gray */}
.back_menu { background: rgba(20, 20, 20, 0.85); /* dark gray */}
.back_pmenu { background: rgba(13, 8, 5, 0.61); /* dark gray */}
.back_box { background: rgba(13, 8, 5, 0.61); /* dark gray */}
.back_input { background: rgba(13, 8, 5, 0.61); /* dark gray */ border-top: 1px solid rgba(255, 238, 160, 0.11); /* light gray */}
.back_modal { background: rgba(13, 8, 5, 0.61); /* dark gray */ backdrop-filter: blur(10px); /* glassy effect */}
.page_element { background: rgba(13, 8, 5, 0.61); /* dark gray */}
.back_quote { background: rgba(13, 8, 5, 0.81); /* dark gray */}

/* main theme color */
.theme_color { color: #d3b300; /* light orange */}
.default_color { color: #6a6242; /* dark gray */}
.error { color: #a73232; /* dark red */}
.success { color: #409728; /* light green */}
.warn { color: orange; /* orange */}

/* button colors */
.theme_btn, .back_theme { background: #d3b300; /* light orange */ color: #fff;}
.default_btn, .back_default { background: #282518; /* dark gray */ color: #fff;}
.defaultd_btn { background: #4d472d; /* dark gray */ color: #fff;}
.ok_btn { background: #409728; /* light green */ color: #fff;}
.warn_btn { background: orange; /* orange */ color: #fff;}
.delete_btn { background: #a73232; /* dark red */ color: #fff;}
.send_btn, .footer_play { color: #d3b300; /* light orange */}

/* default username color */
.user { color: #fff; /* white */}

/* Chat system message styles */
.chat_system {
    color: #b9ae7e; /* Light gray text */
    background: url('./images/kalp.gif') no-repeat center center;
    background-size: cover; /* Ensures the image fills the background */
    padding: 10px 16px; /* Padding for button-like shape */
    border-radius: 10px; /* Rounded corners */
    display: inline-block; /* Makes the background wrap around text */
    max-width: 80%; /* Prevents it from being too wide */
    text-align: center; /* Centers text inside */
    
    /* Centering the element */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* opacity for offline users in list */
.offline { opacity: 0.5; /* 50% opacity */}

/* menu icon */
.menui { color: #d3b300; /* light orange */}
.subi { color: #d3b300; /* light orange */}

/* wall reply background */
.reply_item { background: rgba(13, 8, 5, 0.61); /* dark gray */}

/* main post item option wall and news */
.main_post_item { color: rgb(255, 255, 255, 0.5); /* light gray */}

/* input option background colors */
.input_item, .panel_option, .main_post_item { color: #fff; /* white */}

/* private log bubble colors */
.target_private, .hunt_quote { color: #fff; /* white */ background: #4d472d; /* dark gray */}
.hunter_private, .targ_quote { color: #fff; /* white */ background: #34301f; /* dark gray */}

/* quote in chat background color */
.cquote { background: rgba(13, 8, 5, 0.61) !important; /* dark gray */}
.cqname { color: #b9ae7e; /* light gray */}
.cqmess { color: #6a6242; /* dark gray */}

/* tab menu */
.tab_menu { box-shadow: 0 1px 3px rgb(0, 0, 0, 0.4); /* dark black */}
.tab_selected { background: rgba(40, 40, 40, 0.2); /* dark gray */}
.tab_menu { backdrop-filter: blur(10px); /* glassy effect */}

/* modal menu */
.modal_mback { background: rgba(40, 40, 40, 0.2); /* dark gray */}
.modal_mborder { border-bottom: 1px solid rgba(40, 40, 40, 0.2); /* dark gray */}
.modal_selected { background: rgba(40, 40, 40, 0.2); /* dark gray */}
.modal_back { background-color: rgba(51, 33, 21, 0.69); /* dark gray */}

/* chat logs */
.log2 {
    background: url('./images/background.jpg') no-repeat center center;
    background-size: cover; /* Ensures the image fills the whole element */
}
.topic_log {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
  backdrop-filter: blur(10px); /* Glassy effect */
  -webkit-backdrop-filter: blur(10px); /* For Safari */
  color: #ccbf81; /* Light gray */
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); /* Star shape */
  padding: 15px; /* Adjust padding for better readability */
  border-radius: 10px; /* Soft edges */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle border for better contrast */
}


.sys_log { }

/* upload progress */
.bprogress { background: #409728; /* light green */ color: #fff;}

/* notification colors */
.bnotify { background: #d3b300; /* light orange */ color: #fff;}
.foot_notify, .head_notify { border: 1px solid #fff; /* white */}

/* date colors */
.sub_date { color: #a89e71; /* light gray */}
.sub_chat, .sub_priv { color: #6a6242; /* dark gray */}

/* secondary text color */
.sub_text, .list_mood { color: #a89e71; /* light gray */}

/* profile likes */
.plikes { background-color: rgba(100, 100, 100, 0.2); /* dark gray */ color: #fff;}

/* spinner color */
.bspin { color: rgb(255, 255, 255, 0.3); /* light gray */}

/* special chat item */
.my_notice { color: #fff; /* white */ background: #d3b300; /* light orange */}
.system_text { background: rgba(40, 40, 40, 0.2); /* dark gray */ color: #a89e71; /* light gray */}

/* outside pages background */
.back_page { background: #111; /* dark black */ color: #fff;}

/* video background color */
.post_video { background: rgb(0, 0, 0, 1); /* dark black */}

/* slider */
.boom_slider .ui-widget-content { background: #282518; /* dark gray */}
.boom_slider .ui-state-default { background: #ffeea0 !important; /* light gray */}
.boom_slider .ui-state-active { background: #ffeea0 !important; /* light gray */}
.boom_slider .ui-slider-range { background: #6a6242; /* dark gray */}

/* select input color */
.selectboxit-list, .selectboxit-btn { background-color: rgba(13, 8, 5, 0.61); /* dark gray */ border: 1px solid #34301f; /* dark gray */ color: #fff;}
.selectboxit-list .selectboxit-focus .selectboxit-option-anchor { background-color: rgba(44, 28, 17, 0.61); /* dark gray */ color: #fff;}
.selectboxit-default-arrow { border-top: 4px solid #6a6242; /* dark gray */}
.selectboxit-btn.selectboxit-enabled:hover, .selectboxit-btn.selectboxit-enabled:focus, .selectboxit-btn.selectboxit-enabled:active { background: rgba(13, 8, 5, 0.61); /* dark gray */ color: #fff;}
.selectboxit-options { background: rgba(13, 8, 5, 0.887); /* dark gray */ color: #fff;}
.selectboxit-list .selectboxit-option-anchor { color: #6a6242; /* dark gray */}

/* custom */
.modal_in { border: 1px solid rgb(255, 255, 255, 0.01); /* light gray */}
#intro_top { background: rgba(13, 8, 5, 0.61) !important; /* dark gray */}
input#content { background: rgba(32, 20, 14, 0.45); /* dark gray */ border: 1px solid rgba(255, 238, 160, 0.11) !important; /* light gray */ color: #ffeea0 !important; /* light gray */ box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.188); /* dark black */}
body::before { content: ''; position: fixed; top: 0; left: 0; z-index: -1; width: 100%; height: 100%; background: url('./images/background.jpg'); background-repeat: no-repeat; background-position: center center; background-size: cover; box-shadow: inset 0 0 500px #000; /* dark black */}
.intro_login_btn { background: #d3b300 !important; /* light orange */}

@media screen and (max-width: 1200px) {
  .back_panel { backdrop-filter: blur(10px);}
}
@media screen and (max-width: 1100px) {
  .back_pmenu { backdrop-filter: blur(10px);}
}
@media screen and (max-width: 768px) {
  .back_menu, .back_box, .back_priv { backdrop-filter: blur(10px);}
}
/* General chat log styles */
.chat_log {
    width: auto;
    display: flex !important;
    align-items: flex-start !important;
    gap: 6px !important;
    animation: bounceSlideIn 1.2s ease-out;
}

/* Chat avatar styles */
.chat_log > .chat_avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Circular avatar */
    overflow: hidden;
}

/* Chat bubble with stronger transparency */
.chat_log > .my_text {
    position: relative;
    flex: 0 0 auto !important;
    flex-grow: 0 !important;
    align-self: flex-start !important;
    display: block !important;
    width: fit-content !important;
    max-width: 60% !important;
    padding: 0 6px !important;
    margin: 0 !important;
    line-height: 1.05 !important;
    font-size: 14px;
    border-radius: 12px;
    word-break: break-word;
    color: #fff;

    background: url('https://i.gifer.com/37SUp.gif') no-repeat center center;
    background-size: cover;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* tarih/saat yazının hemen bitiminde */
.cdate {
    display: inline !important;
    font-size: 10px !important;
    margin-left: 4px !important;
    vertical-align: bottom !important;
    white-space: nowrap !important;
    opacity: 0.7;
}

/* seçenek butonu (...) balona yakın */
.chat_log > .log_opts,
.chat_log > .chat_opts,
.chat_log > .log_menu,
.chat_log > .chat_log_menu,
.chat_log > .msg_opt,
.chat_log > .opc {
    align-self: center !important;
    flex-shrink: 0 !important;
}

/* Arrow pointing from chat bubble to avatar */
.chat_log > .my_text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -15px; /* Attach to the left side */
    transform: translateY(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: transparent rgba(255, 255, 255, 0.949) transparent transparent; /* Match transparency */
}

/* Slide-in bounce animation */
@keyframes bounceSlideIn {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    50% {
        transform: translateX(10px);
        opacity: 1;
    }
    70% {
        transform: translateX(-5px);
    }
    100% {
        transform: translateX(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .chat_log {
        flex-direction: row;
        gap: 5px;
    }
    .chat_log > .my_text {
        max-width: 85%;
        padding: 8px;
    }
}
